#ifndef MBAPPWIG_H
#define MBAPPWIG_H

#include <QWidget>
#include "globalval.h"
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonArray>
#include <QMessageBox>


namespace Ui {
class MbappWig;
}

class MbappWig : public QWidget
{
    Q_OBJECT

public:
    explicit MbappWig(QWidget *parent = 0);
    ~MbappWig();

private:
    Ui::MbappWig *ui;

public slots:
    void handleMqttMessage(const QByteArray &message);

    void setThresholdSlot();

    void handleButtonGroup();
};

#endif // MBAPPWIG_H
